package tech.chauncy.springbootwebsample.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import tech.chauncy.springbootwebsample.util.YamlUtil;

import java.io.FileNotFoundException;

@Configuration
public class CommonConfig {

    @Bean
    public YamlUtil yamlUtil() throws FileNotFoundException {
        return new YamlUtil();
    }
}

